Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cellSpurs: Implement ShutdownTaskset and WorkloadFlagReceiver2 #13916

Merged
merged 1 commit into from
Jul 2, 2023

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented May 24, 2023

No description provided.

{
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
cellSpurs.warning("_cellSpursWorkloadFlagReceiver2(spurs=*0x%x, wid=%d, is_set=%d, print_debug_output=0%d)", spurs, wid, is_set, print_debug_output);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why 0%d with zero prefix?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Comment on lines +3191 to +3204
if (is_set)
{
if (FlagReceiver == 0xff)
{
FlagReceiver = static_cast<u8>(wid);
}
}
else
{
if (FlagReceiver == wid)
{
FlagReceiver = 0xff;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems redundant.
can't you just set FlagReceiver in the scopes above ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just seen it and they way it is is much more readable.

@elad335 elad335 requested a review from Nekotekina July 2, 2023 15:54
@Nekotekina Nekotekina merged commit 21f5976 into RPCS3:master Jul 2, 2023
2 of 5 checks passed
@elad335 elad335 deleted the spurs1 branch July 2, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants